<?php
namespace app\erp_meixingtiyu\controller;

use think\facade\Request;
use app\store\controller\Controller as StoreController;
use app\erp_meixingtiyu\logic\Overview as OverviewLogic;

class Overview extends StoreController
{
    // 获取今日销售额
    public function data()
    {
      $info = (new OverviewLogic)->getOrderInfoOfSevenDays();
      return $this->renderSuccess($info);
    }
}
